package com.example.skytakeoutserver.data.dto

import io.swagger.v3.oas.annotations.media.Schema
import lombok.Getter
import lombok.Setter

@Getter
@Setter
@Schema(title = "菜品(分页)")
data class DishPageQueryDTO(
    @Schema(description = "页码")
    val page: Int = 1,

    @Schema(description = "页数")
    val pageSize: Int = 10,

    @Schema(description = "菜品名")
    var name: String? = null,

    @Schema(description = "菜品分类id")
    var categoryId: Long? = null,

    @Schema(description = "0 停售 1 起售")
    var status: Int? = null,
)